# $Id: PKGBUILD 179485 2013-03-05 16:24:22Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Paul Mattal <pjmattal@elys.com>

pkgname=hexedit
pkgver=1.2.13
pkgrel=1
pkgdesc="Hex Editor for Linux"
arch=('i686' 'x86_64')
url="http://rigaux.org/hexedit.html"
license=('GPL')
depends=('ncurses')
source=("http://rigaux.org/${pkgname}-${pkgver}.src.tgz")
md5sums=('a5af1378d028512a9cad27a5ba3e15f9')

build() {
  cd "${srcdir}/${pkgname}"
  CFLAGS="$CFLAGS -Wall"

  ./configure
  make
}

package() {
  cd "${srcdir}/${pkgname}"

  make prefix="${pkgdir}/usr" install
}
